package day5;

public class zuoye1 {
	public static void main(String[] args) {
		
	
int scores[]  = {0,0,1,2,3,5,4,5,2,8,7,6,9,5,4,8,3,1,0,2,4,8,7,9,5,2,1,2,3,9};
	   for(int i=0; i<=9; i++) {
	     int count = 0;
	     for(int j=0; j<scores.length; j++) {
	        if(i==scores[j]) {
	           count++;
	        }
	     }
	     System.out.println(i+"出现的次数:"+count);
	   }
	
}
}
	
	


